<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ taglib prefix="t" uri="/easyui-tags"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/shezhi.css">
<link rel="stylesheet" href="css/xiaoxi.css">
<title>好友请求</title>
</head>
<!--头部 -->
<%@include file="head.jsp"%>

<!--main -->
<div class="shezhi">
	<div class="shezhi_c">
		<div class="shezhi_c_top">
			<img src="imges/home.png"> > 我的 > 好友
		</div>
		<div class="shezhi_con" style="height: auto;">
			<table style="width: 100%; table-layout: fixed;" cellpadding="0" cellspacing="0">
				<tbody>
					<tr>
						<td style="border-right: 1px solid #f1f1f1; width: 200px">
							<div class="shezhi_con_l" style="height: auto; border: none">
								<div class="shezhi_con_ltop">
									<span style="margin-top: 10px; display: inline-block"> <img class="shezhi_con_l_img" src="imges/jiayuan_tou.png"></span><br>
									<span>ID ${mbId} <img src="imges/v1.jpg"></span>
								</div>
								<div class="shezhi_con_lc">
									<%@include file="friendLeftNavi.jsp"%>
								</div>
								<div style="clear: both"></div>
							</div>
						</td>
						<td>
							<div class="shezhi_con_r" style="height: 100px; padding-bottom: 10px">
								<div class=" search_top">请选定好友的申请进行批准或忽略</div>
								
								<div class="search_rs">
								<c:forEach items="${requestFirendList}" var="listFriend" varStatus="status">
									<div class="search_rs1" style="width: 250px;">
										<div class="search_rs_img">
											<img src="imges/xiaoxi/touxiang.png">
										</div>
										<div class="search_rs_con" style="width: 150px;">
											<a href="#">
												<span style="color: #000">${listFriend.user_name}</span>
											</a>
											<br> <span style="color: #666">${listFriend.create_date}</span><br>
<!-- 											<a href="#"> -->
<!-- 												<span style="color: #0090ee">查看你们共同的好友</span> -->
<!-- 											</a> -->
											<br>
<!-- 											<button class="search_bg_btn1">同意</button> -->
											<a class="search_bg_btn1" href="#" 
												onclick="add('加为好友','FriendController.do?goAddBuddy&addType=pass&userId=${listFriend.user_id}&userName=${listFriend.user_name}','add')">+好友</a>
											<button class="search_bg_btn2" style="margin-left: 5px;" onclick="FriendController.do?addBuddy&addType=refused">拒绝</button>  
										</div>
									</div>
								</c:forEach>	
								</div>

							</div>
						</td>
					</tr>
				</tbody>
			</table>
			<div style="clear: both"></div>
		</div>
		<div style="clear: both"></div>
	</div>
</div>

<!--foot -->
<%@include file="foot.jsp"%>

</body>
</html>
